<?php
class Core_Model_Global_Component extends Dcmp_Model_Entity{

    public function __construct(){
        parent::__construct();
    }

    protected function initializeTable($table){
        $table->setName('{t}global_component');
        $table->createColumn('id', 'guid', TRUE);
        $table->createColumn('name');
        $table->createColumn('version');
        $table->createColumn('author');
        $table->createColumn('company');
//        $table->createColumn('website_name');
        $table->createColumn('website_uri');
        $table->createColumn('email');
        $table->createColumn('creator_id', 'integer');
        $table->createColumn('created_time', 'datetime')->setDefaultValue(date('Y-m-d H:i:s'));
    }
}